from django.urls import path

from user_center import views

urlpatterns = [
    path("api/qingdong/user_center/login", views.login),
    path("api/qingdong/user_center/logout", views.logout),
    path("api/qingdong/user_center/register", views.register),
    path("api/qingdong/user_center/get_user_info", views.get_user_info),
    path("api/qingdong/user_center/update_user_info", views.update_user_info),
    path(
        "api/qingdong/user_center/update_campus_identity", views.update_campus_identity
    ),
    path("api/qingdong/user_center/update_email", views.update_email),
    path(
        "api/qingdong/user_center/send_email_verification_code_4_register",
        views.send_email_verification_code_4_register,
    ),
    path(
        "api/qingdong/user_center/send_email_verification_code_4_login",
        views.send_email_verification_code_4_login,
    ),
    path(
        "api/qingdong/user_center/send_email_verification_code_4_change_email",
        views.send_email_verification_code_4_change_email,
    ),
    path("api/qingdong/user_center/auth/campus_identity", views.auth_campus_identity),
]
